Auto merge of #1164 - alexcrichton:issue-209, r=huonw
authorbors <bors@rust-lang.org>
Wed, 14 Jan 2015 16:44:32 +0000 (16:44 +0000)
committerbors <bors@rust-lang.org>
Wed, 14 Jan 2015 16:44:32 +0000 (16:44 +0000)
commit25fa147a5b375a59e883526113f3461528d63975
treefb71957a175d8d6f303607dcb1b11044bd0f387f
parent6c22ca1a3ee2ecfb3f9f9ebe69903e6bd9cc754c
parent4a91d015cf11044cf4d842dbdb4291f5a49a2e38
Auto merge of #1164 - alexcrichton:issue-209, r=huonw

All paths printed will now be absolute paths unless the path is a descendant of
the current directory. This should keep error messages and warnings of a
reasonable length when working with the local project while still allowing
errors in registry/git dependencies to be tracked down.

Special care is taken in these situations to ensure that the error message from
the compiler prints a reasonable path.

Closes #209
Closes #694
tests/test_cargo_compile.rs
tests/test_cargo_compile_custom_build.rs